package com.vallis.asfc.util;

import lombok.Data;

/**
 * @Classname Result
 * @Description TODO
 * @Date 2020/6/14 11:34
 * @Created by vallis
 */
@Data
public class Result {
private Integer code;
private String msg;
private Object data;
    
    public Result(Integer code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
    
    public Result(String msg, Object data) {
        this.code=200;
        this.msg = msg;
        this.data = data;
    }
    
    public Result(Object data) {
        this.code=200;
        this.data = data;
    }
}
